package com.geostart.constructionland.system.service;

import com.geostar.constructionland.common.entity.response.ExtJsAjaxResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author chengan
 * @description
 */
@FeignClient(name = "constructionland-analyse")
public interface AnalyseFxrzFeignClient {
    @RequestMapping(value = "/analyseFxrz/getFxrz",method = RequestMethod.POST)
    ExtJsAjaxResponse getAnalyseFxrz(@RequestParam("page") int pageNo,@RequestParam("limit") int pageNum
    ,@RequestParam(value="query_xmmc",required=false)String query_xmmc);

    @RequestMapping(value = "/analyseFxrz/getStatistic",method = RequestMethod.POST)
    ExtJsAjaxResponse getFxrzStatisstics(@RequestParam("page") int pageNo,@RequestParam("limit") int pageNum
            ,@RequestParam(value="query_ywid",required=false)String query_ywid);

    @RequestMapping(value = "/analyseFxrz/getFxrzByYwid",method = RequestMethod.POST)
    ExtJsAjaxResponse getAnalyseFxrzByYwid(@RequestParam(value="ywid",required=false)String ywid);

    @RequestMapping(value = "/analyseFxrz/getFxrzLsByYwid",method = RequestMethod.POST)
    ExtJsAjaxResponse getAnalyseFxrzLsByYwid(@RequestParam(value="ywid",required=false)String ywid);
}
